Public Class frmGetDriver
    Dim db As Database = Database.db

    Private Sub LinkLabel1_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles LinkLabel1.LinkClicked
        System.Diagnostics.Process.Start("http://dev.mysql.com/get/Downloads/Connector-ODBC/3.51/mysql-connector-odbc-3.51.24-win32.msi/from/http://mirror.csclub.uwaterloo.ca/mysql/")
    End Sub

    Private Sub btnRetry_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRetry.Click
        If db.testConnection Then
            frmLogin.Focus()
            frmLogin.Enabled = True
            Me.Hide()
        Else
            MsgBox("ODBC Driver still not detected, please download and install it.")
        End If
    End Sub

    Private Sub btnExit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExit.Click
        Me.Close()
    End Sub
End Class